﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using l1cs.server.model.Instance;

namespace l1cs.server.serverpackets
{
    public class S_WhoAmount : ServerBasePacket
    {
        private static Logger _log = Logger.getLogger( typeof( S_WhoAmount ).FullName );

        public S_WhoAmount( String amount )
        {
            writeC( Opcodes.S_OPCODE_SERVERMSG );
            writeH( 0x0051 );
            writeC( 0x01 );
            writeS( amount );
        }

        override
        public byte[] getContent()
        {
            return getBytes();
        }

        override
        public String getType()
        {
            return "[S] S_WhoAmount";
        }
    }
}